* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

/* 统一组件 */
.container input[type="text"] {
    flex: 1;
    margin-right: 10px;
    width: 300px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.container input:focus {
    outline: none;
    border-color: #007bff;
}

.container input::placeholder {
    color: #ccc;
}

.container button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    /* 鼠标移上去的时候变成手指 */
    cursor: pointer; 
}
.line{
    text-decoration:line-through;
}
/*  */
.container {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.container h3 {
    font-size: 24px;
    text-align: center;
}

.container .addtask {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;

}

.container .search {
    margin-top: 10px;
    margin-bottom: 10px;
}

.container .tasklist li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 10px;
    transform: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 16px;
    margin-top: 10px;
}
